token cleaning